package org.dubnation.org.service.impl;

import org.dubnation.org.domain.ShopOperateLog;
import org.dubnation.org.mapper.ShopOperateLogMapper;
import org.dubnation.org.service.IShopOperateLogService;
import org.dubnation.base.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhu
 * @since 2023-10-30
 */
@Service
public class ShopOperateLogServiceImpl extends BaseServiceImpl<ShopOperateLog> implements IShopOperateLogService {

    @Autowired(required = false)
    private ShopOperateLogMapper shopOperateLogMapper;

    /**
     * 查询驳回日志
     * @param shopId
     * @return
     */
    @Override
    public List<ShopOperateLog> getRejectLogs(Long shopId) {
        return shopOperateLogMapper.getRejectLogs(shopId);
    }
}
